package com.common.www.repository.project;

import org.springframework.boot.base.jpa.repository.support.ExtendedRepository;
import com.common.www.bean.entity.project.BiddingCompany;
import com.common.www.bean.entity.project.XfgcBiddingCompany;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XfgcBiddingCompanyRepository extends ExtendedRepository<XfgcBiddingCompany, Long> {

    /**
     * 按条件查询绑定的供应商
     * @param flag
     * @param projectId
     * @param bidStatus
     * @return
     */
    List<XfgcBiddingCompany> findByFlagAndProjectIdAndBidStatus(Integer flag,Long projectId,Integer bidStatus);
}
